package com.example.smartcitymovie.bean;

import android.util.Log;

import com.example.smartcitymovie.MyApplication;

import java.io.Serializable;
import java.util.List;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class TheaterTimesListBean implements Serializable {

    /**
     * total : 2
     * rows : [{"searchValue":null,"createBy":null,"createTime":null,"updateBy":null,"updateTime":null,"remark":null,"params":{},"id":2,"theaterId":13,"roomId":4,"movieId":3,"startTime":"10:30","endTime":"11:45","price":36,"playType":"1","playDate":"2021-05-09","saleNum":40,"totalNum":80,"status":"1","theatreName":"北联影城","roomName":"1号厅","movieName":"悬崖之上"},{"searchValue":null,"createBy":null,"createTime":null,"updateBy":null,"updateTime":null,"remark":null,"params":{},"id":33,"theaterId":7,"roomId":63,"movieId":3,"startTime":"10:00","endTime":"11:45","price":38,"playType":"3","playDate":"2021-05-11","saleNum":57,"totalNum":80,"status":"1","theatreName":"SFC星感觉国际影城","roomName":"4号厅","movieName":"悬崖之上"}]
     * code : 200
     * msg : 查询成功
     */

    private int total;
    private int code;
    private String msg;
    /**
     * searchValue : null
     * createBy : null
     * createTime : null
     * updateBy : null
     * updateTime : null
     * remark : null
     * params : {}
     * id : 2
     * theaterId : 13
     * roomId : 4
     * movieId : 3
     * startTime : 10:30
     * endTime : 11:45
     * price : 36.0
     * playType : 1
     * playDate : 2021-05-09
     * saleNum : 40
     * totalNum : 80
     * status : 1
     * theatreName : 北联影城
     * roomName : 1号厅
     * movieName : 悬崖之上
     */

    private List<RowsBean> rows;


    @Data
    @Builder
    @AllArgsConstructor
    @NoArgsConstructor
    public static class RowsBean implements Serializable{
        private Object searchValue;
        private Object createBy;
        private Object createTime;
        private Object updateBy;
        private Object updateTime;
        private Object remark;
        private int id;
        private int theaterId;
        private int roomId;
        private int movieId;
        private String startTime;
        private String endTime;
        private double price;
        private String playType;
        private String playDate;
        private int saleNum;
        private int totalNum;
        private String status;
        private String theatreName;
        private String roomName;
        private String movieName;
    }
}
